<%@page import="java.net.URLDecoder" %>
<%@page import="java.net.URLEncoder" %>
<%@page import="cn.jkgly.test.service.ZZQR" %>
<%@page import="com.google.zxing.client.j2se.MatrixToImageWriter" %>
<%@page import="com.google.zxing.BarcodeFormat" %>
<%@page import="com.google.zxing.MultiFormatWriter" %>
<%@page import="com.google.zxing.common.BitMatrix" %>
<%@page import="com.google.zxing.EncodeHintType" %>
<%@page import="java.util.Hashtable" %>
<%@page import="java.io.OutputStream" %>
<%@page import="java.util.UUID" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%
    String uuid = request.getParameter("uuid");
//String url="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3a06c113295b44c3&redirect_uri=http://www.jkgly.cn/saoMaController.do?saoMa&uuid="+uuid+"&response_type=code&scope=snsapi_userinfo&state=gh_57bb30ebab7e#wechat_redirect";
//String url ="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3a06c113295b44c3&redirect_uri=http%3A%2F%2Fwww.jkgly.cn%2FsaoMaController.do%3FsaoMa%26uuid%3D"+uuid+"&response_type=code&scope=snsapi_userinfo&state=gh_57bb30ebab7e#wechat_redirect";
//    String url ="https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3a06c113295b44c3&redirect_uri=http%3a%2f%2fauth.jkgly.cn%2fjsp&response_type=code&scope=snsapi_userinfo&state=gh_57bb30ebab7e#wechat_redirect";
//String text=uuid;
    String text = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3a06c113295b44c3&redirect_uri=http://auth.jkgly.cn/wxAuthorization&response_type=code&scope=snsapi_userinfo&state=state&connect_redirect=1#wechat_redirect";
    ZZQR.encode(text, response.getOutputStream());
    out.clear();
    out = pageContext.pushBody();
%>